package com.ydjk.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ydjk.common.annotation.Excel;

import java.util.Date;

/**
 * 用户住院信息对象 jk_hospitalization_info
 *
 * @author ruoyi
 * @date 2024-03-30
 */
public class JkHospitalizationInfo {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    private String id;

    /**
     * 姓名
     */
    @Excel(name = "姓名")
    private String name;

    /**
     * 用户昵称
     */
    @Excel(name = "用户昵称")
    private String nickName;

    /**
     * 手机号
     */
    @Excel(name = "手机号")
    private Long phone;

    /**
     * 性别：1男，2女
     */
    @Excel(name = "性别：1男，2女")
    private String sex;

    /**
     * 年龄
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "年龄", width = 30, dateFormat = "yyyy-MM-dd")
    private Date age;

    /**
     * 注册时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "注册时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date registrationTime;

    /**
     * 入院时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入院时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date admissionTime;

    /**
     * 床号
     */
    @Excel(name = "床号")
    private String num;

    /**
     * 病区
     */
    @Excel(name = "病区")
    private String ward;

    /**
     * 诊断
     */
    @Excel(name = "诊断")
    private String diagnosis;

    /**
     * 主管医生
     */
    @Excel(name = "主管医生")
    private String chiefPhysician;

    /**
     * 护士
     */
    @Excel(name = "护士")
    private String nurse;

    /**
     * 病种
     */
    @Excel(name = "病种")
    private String disease;

    /**
     * 手术方式
     */
    @Excel(name = "手术方式")
    private String operation;

    /**
     * 手术时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "手术时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date operationTime;

    /**
     * 出院时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出院时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dischargeTime;

    /**
     *
     */
    @Excel(name = "")
    private String isDelete;

    /**
     * 微信openid
     */
    @Excel(name = "微信openid")
    private String openId;

    /**
     * 头像
     */
    @Excel(name = "头像")
    private String url;

    /**
     *
     */
    @Excel(name = "")
    private Long userId;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setPhone(Long phone) {
        this.phone = phone;
    }

    public Long getPhone() {
        return phone;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getSex() {
        return sex;
    }

    public void setAge(Date age) {
        this.age = age;
    }

    public Date getAge() {
        return age;
    }

    public void setRegistrationTime(Date registrationTime) {
        this.registrationTime = registrationTime;
    }

    public Date getRegistrationTime() {
        return registrationTime;
    }

    public void setAdmissionTime(Date admissionTime) {
        this.admissionTime = admissionTime;
    }

    public Date getAdmissionTime() {
        return admissionTime;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getNum() {
        return num;
    }

    public void setWard(String ward) {
        this.ward = ward;
    }

    public String getWard() {
        return ward;
    }

    public void setDiagnosis(String diagnosis) {
        this.diagnosis = diagnosis;
    }

    public String getDiagnosis() {
        return diagnosis;
    }

    public void setChiefPhysician(String chiefPhysician) {
        this.chiefPhysician = chiefPhysician;
    }

    public String getChiefPhysician() {
        return chiefPhysician;
    }

    public void setNurse(String nurse) {
        this.nurse = nurse;
    }

    public String getNurse() {
        return nurse;
    }

    public void setDisease(String disease) {
        this.disease = disease;
    }

    public String getDisease() {
        return disease;
    }

    public void setOperation(String operation) {
        this.operation = operation;
    }

    public String getOperation() {
        return operation;
    }

    public void setOperationTime(Date operationTime) {
        this.operationTime = operationTime;
    }

    public Date getOperationTime() {
        return operationTime;
    }

    public void setDischargeTime(Date dischargeTime) {
        this.dischargeTime = dischargeTime;
    }

    public Date getDischargeTime() {
        return dischargeTime;
    }

    public void setIsDelete(String isDelete) {
        this.isDelete = isDelete;
    }

    public String getIsDelete() {
        return isDelete;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getOpenId() {
        return openId;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUrl() {
        return url;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

}
